<template>
  <div>
      <h1>Inject</h1>
      {{name}}
      <inject-2></inject-2>
  </div>
</template>

<script>
import inject2 from './inject2.vue'
export default {
    inject: ['name'],
    components: {
        inject2
    }
}
</script>

<style>

</style>